package com.lowkey.proxy;

import com.lowkey.bean.Book;
import com.lowkey.bean.Style;

public class test {
	public static void main(String[] args) {
		Session session = new SessionImpl();
		Book b = (Book) session.load(Book.class, 105);
		System.out.println(b.getBookname()+" "+b.getBookId());
		Style s = b.getStyle();
		System.out.println(s.getStyleId()+"  "+s.getStyle());
	}
}
